<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
String path=request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>后台管理</title>
	<jsp:include page="/static/commonjsp/head-js.jsp" flush="true"/>
</head>
	<body>
	    <div class="x-body layui-anim layui-anim-up">
	        <blockquote class="layui-elem-quote">欢迎${user.role.roleName}：
	        	<jsp:useBean id="now" class="java.util.Date" scope="page"/>
	            <span class="x-red">${user.name}</span>！当前时间:<fmt:formatDate value="${now}" pattern="yyyy年MM月dd日 HH时mm分ss秒" />
	        </blockquote>
	        <fieldset class="layui-elem-field">
	            <legend>系统信息</legend>
	            <div class="layui-field-box">
	                <table class="layui-table">
	                    <tbody>
	                        <tr>
	                            <th>系统版本</th>
	                            <td>1.0.01</td></tr>
	                        <tr>
	                            <th>服务器地址</th>
	                            <td>${hostAddress}</td></tr>
	                        <tr>
	                            <th>操作系统</th>
	                            <td>WINNT</td></tr>
	                        <tr>
	                            <th>运行环境</th>
	                            <td><%= application.getServerInfo() %></td></tr>
	                        <tr>
	                            <th>jdk版本</th>
	                            <td>${jdkVersion}</td></tr>
	                        <!-- <tr>
	                            <th>PHP运行方式</th>
	                            <td>cgi-fcgi</td></tr>
	                        <tr> -->
	                            <th>MYSQL版本</th>
	                            <td>5.5.53</td></tr>
	                      <!--   <tr>
	                            <th>ThinkPHP</th>
	                            <td>5.0.18</td></tr>
	                        <tr> -->
	                            <th>上传附件限制</th>
	                            <td>2M</td></tr>
	                        <tr>
	                            <th>执行时间限制</th>
	                            <td>30s</td></tr>
	                        <tr>
	                        <tr>
	                            <th>已用空间</th>
	                            <td>${usedSpace}</td></tr>
	                        <tr>
	                            <th>剩余空间</th>
	                            <td>${freeSpace}</td></tr>
	                    </tbody>
	                </table>
	            </div>
	        </fieldset>
	        <fieldset class="layui-elem-field">
	            <legend>开发者</legend>
	            <div class="layui-field-box">
	                <table class="layui-table">
	                    <tbody>
	                        <tr>
	                            <th>版权所有</th>
	                            <td>贾循 --特别感谢x-admin的支持， 特别感谢layui的支持。
	                                <!-- <a href="http://www.cxsj520.com/" class='x-a' target="_blank">访问官网</a> --></td>
	                        </tr>
	                        <tr>
	                            <th>开发者</th>
	                            <td>贾循(2583476396@qq.com)</td></tr>
	                    </tbody>
	                </table>
	            </div>
	        </fieldset>
	        <!-- <blockquote class="layui-elem-quote layui-quote-nm">感谢layui,百度Echarts,jquery,本系统由x-admin提供技术支持。</blockquote> -->
	    </div>
    </body>
</html>

